package com.qf.service;

import com.qf.model.DeviceType;
import com.qf.model.Farm;
import com.qf.page.PageResult;
import com.qf.page.QueryPageBean;

import java.util.List;

public interface DeviceTypeService {

    //添加一个用户
    public int add(DeviceType deviceType);


    public DeviceType findById(int id);

    public int edit(DeviceType deviceType);


    public int delete(int id);

    public PageResult findPage(QueryPageBean queryPageBean);

    public List<DeviceType> findAll();

}
